CPSW\Admin\Admin_Controller D

Total Complexity 304
Dependencies 15
Dependents 2
Total lines 2,395
Lines of code 1,642
Logical lines of code 690
Comment lines 559
Methods 55
Properties 4

Methods 55

Method Rating Maintainability Complexity Lines of code
check_connection_on_updates()
C
36 24 80
enqueue_scripts()
C
30 21 119
connection_test()
B
36 20 78
checkout_settings()
B
25
4 240
are_keys_set_check()
A
49 17 23
create_webhooks()
A
39 14 68
initialise_warnings()
A
51 15 23
cpsw_express_checkout_option_updates()
A
45 11 39
admin_options()
A
41 10 54
connect_button()
A
43 9 48
are_keys_set()
A
57 10 18
delete_webhooks()
A
49 9 32
add_manual_connect_link()
A
56 10 15
get_settings()
A
32 1 132
add_breadcrumb()
S
52 7 24
account_id()
S
42 4 61
account_keys()
S
50 6 29
delete_webhook_action()
S
57 7 14
create_webhook_action()
S
56 6 15
disconnect_account()
S
57 6 15
stripe_connect()
S
48 4 37
giropay_deprecated_notice()
S
53 5 20
update_mode()
S
63 6 10
dismiss_admin_notice()
S
59 5 12
webhook_url()
S
52 4 26
init()
S
45 3 37
express_checkout_preview()
S
48 2 46
redirect_if_manually_saved()
S
68 5 6
js_errors()
S
59 4 13
filter_settings_fields()
S
51 3 28
update_options()
S
63 4 11
delete_webhook_field()
S
53 3 25
delete_live_webhook_field()
S
53 3 25
retrieve_webhooks()
S
62 4 10
get_account_info()
S
61 3 13
stripe_checkout_notice()
S
51 2 27
get_stripe_connect_url()
S
53 2 25
create_live_webhook_field()
S
55 2 21
create_webhook_field()
S
55 2 21
add_settings_links()
S
68 3 7
is_stripe_connected()
S
70 3 6
__construct()
S
63 3 10
update_settings()
S
65 3 9
remove_webhook_secret_settings_keys()
S
65 3 9
init_navigations()
S
55 1 19
remove_settings_keys()
S
69 2 6
settings_tab()
S
81 1 3
express_checkout_notice()
S
71 1 7
insufficient_permission()
S
78 1 3
add_custom_css()
S
72 1 7
webhooks_missing_notice()
S
75 1 3
connect_failed_notice()
S
78 1 3
connect_success_notice()
S
78 1 3
ssl_not_connect()
S
78 1 3
add_settings_tab()
S
75 1 4